#ifndef PLAYSCENE_H
#define PLAYSCENE_H

#include "mycoin.h"

#include <QMainWindow>

class PlayScene : public QMainWindow
{
    Q_OBJECT
public:
//    explicit PlayScene(QWidget *parent = nullptr);
    PlayScene (int level);
    int levelIndex;

    //胜利标志
    bool isWin =false;

    void paintEvent(QPaintEvent *) override;
int gameArray[4][4];//二维数组 维护每个关卡具体的数据

// 保留每个按钮的操作对象
MyCoin * btnCoin[4][4];
signals:
void chooseSceneBack();
};

#endif // PLAYSCENE_H
